#include "LCD_private.h"
#include "GUI_private.h"
#include "lcd_touch.h"

extern U16 TPReadX(void);
extern U16 TPReadY(void);

unsigned short int X,Y;

void GUI_TOUCH_X_ActivateX(void) {	
}

void GUI_TOUCH_X_ActivateY(void) {
	if(touch_bool)
	{
		TPReadXY();
	}
	else
	{
		xdata = 0;
		ydata = 0;
	}	
}


int  GUI_TOUCH_X_MeasureX(void) 
{	   	  
	return TPReadX(); 
}

int  GUI_TOUCH_X_MeasureY(void)
{
	return TPReadY();
}




